package com.quectel.sdk.emq.bean;

import lombok.Data;

/**
 * 在这里编写说明
 *
 * @author: rananxin
 * @email: ryan.ran@quectel.com
 * @date: 2022-10-19 11:01:00
 */
@Data
public class EmqResponse {

    private int code;
    private String data;

    public boolean isSuccess() {
        return code == 0;
    }

    @Data
    public static class GetResourcesResponse {

        private String resourceId;

        private String callbackUrl;

    }

}
